cc = g++
lib = -lpthread -lpcap
opt = -g -Wall
target = main
source = *.c
all:
	$(cc) $(opt) -o $(target) $(source) $(lib)

clean:
	rm -rf *.o $(target)